package openapi_remote

import (
	"context"
)

// OpenApiRepoIface 企业工商信息服务
type OpenApiRepoIface interface {
	// GetCompanyDetail 大数据服务——获取企业详情接口
	GetCompanyDetail(ctx context.Context, keyword string) (*CompanyDetailBo, error)
	// GetMainDeveloper 获取工商信息
	GetMainDeveloper(ctx context.Context, companyNameList []string) ([]*MainDeveloperItem, error)
	// AddSyncTask 添加反哺任务
	AddSyncTask(ctx context.Context, companyNameList []string) ([]string, error)
	// GetCompanyZxList 失信被执行
	GetCompanyZxList(ctx context.Context, request *GetCompanyRiskCommonRequest) (*GetCompanyZxListData, error)
	// GetCompanyCourtRegister 立案信息
	GetCompanyCourtRegister(ctx context.Context, request *GetCompanyRiskCommonRequest) (*GetCompanyCourtRegisterData, error)
	// GetCompanyLawSuit 法律诉讼
	GetCompanyLawSuit(ctx context.Context, request *GetCompanyRiskCommonRequest) (*GetCompanyLawSuitData, error)
	// GetCompanyTaxIllegalList 税收违法
	GetCompanyTaxIllegalList(ctx context.Context, request *GetCompanyRiskCommonRequest) (*GetCompanyTaxIllegalListData, error)
	// GetCompanyRiskCount 风险数据统计
	GetCompanyRiskCount(ctx context.Context, request *GetCompanyRiskCountRequest) (*GetCompanyRiskCountData, error)
}
